﻿using System;
using IFRS.Model;

namespace IFRS.Models
{
    [Serializable]
    public class SorPorMorCredit : IStandardField
    {
        public int SorPorMorCreditID { get; set; }
        public DateTime? TransactionDate { get; set; }
        public string AccountNo { get; set; }
        public string GLAccount { get; set; }
        public string GLAccountName { get; set; }
        public string CostCenter { get; set; }
        public string COST_CENTER_NM { get; set; }
        public DateTime? ContractStartDate { get; set; }
        public DateTime? ContractEndDate { get; set; }
        public DateTime? FirstPaymentDate { get; set; }
        public DateTime? LastPaymentDate { get; set; }
        public decimal? PaymentFreq { get; set; }
        public string PaymentFreqTimeBase { get; set; }
        public decimal? InterestPayFreq { get; set; }
        public string InterestPayFreqTimeBase { get; set; }
        public decimal? InterestAdjFreq { get; set; }
        public string InterestAdjFreqTimeBase { get; set; }
        public int? PaymentConditionID { get; set; }
        public int? PaymentDateID { get; set; }
        public decimal? CustomerPayFreq { get; set; }
        public string CustomerPayFreqTimeBase { get; set; }
        public decimal? TermAmount { get; set; }
        public decimal? CapitalAmount { get; set; }
        public DateTime? NextPaymentDate { get; set; }
        public DateTime? EndCalInterestDate { get; set; }
        public DateTime? StartPaymentDate { get; set; }
        public DateTime? MisPaymentDate { get; set; }
        public int? NoOfPayment { get; set; }
        public decimal? UnpaidAmount { get; set; }
        public int? DayCountMethodID { get; set; }
        public decimal? StartInterestRate { get; set; }
        public int? InterestTypeID { get; set; }
        public string ReferenceInterestCD { get; set; }
        public string ReferenceInterestNM { get; set; }
        public decimal? AdditionalInterest { get; set; }
        public decimal? InterestRate { get; set; }
        public string CurrencyCode { get; set; }
        public decimal? UnpaidInterest { get; set; }
        public int? CustomerID { get; set; }
        public string CustomerCode { get; set; }
        public int? CreditLevelID { get; set; }
        public int? ContractLoanTypeID { get; set; }
        public string LoanObjectiveID { get; set; }
        public string CBT_DESC_LEV1 { get; set; }
        public decimal? CollateralValue { get; set; }
        public decimal? ReservedAmount { get; set; }
        public bool DebtAdjustFlag { get; set; }
        public bool? IsConfirmed { get; set; }
        public string RP_GSB_PRDCD { get; set; }
        public string RP_SOURCE_FILE { get; set; }
        public string RP_MAPPING_CD { get; set; }
        public DateTime CreatedDate { get; set; }
        public string CreatedBy { get; set; }
        public string CreatedCostCenter { get; set; }
        public string CreatedBranch { get; set; }
        public DateTime UpdatedDate { get; set; }
        public string UpdatedBy { get; set; }
        public string UpdatedCostCenter { get; set; }
        public string UpdatedBranch { get; set; }
    }
}
